package test.hibernate.dialect;

import java.sql.Types;

import org.hibernate.dialect.PostgreSQLDialect;

/**
 * A custom SQL dialect for Postgres which prevents limitation of varchar columns to default to 255
 * @author Sinisa
 */
public class MyPostgreSQLDialect extends PostgreSQLDialect {

        public MyPostgreSQLDialect() {
                super();
                registerColumnType( Types.VARCHAR, "varchar" );
        }

}